home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Best of MacTutor - S…e Code for Volumes 1 to 5
/
The Best of MacTutor - Source Code for Volume 1-5 (Wayzata Technology)(6031)(1990).bin
/
Source Code
/
#43 (Apr 89)
/
Designer CDEF Code
/
DesignerButtons.R
< prev
next >
Wrap
Text File
|
1988-12-27
|
6KB
|
193 lines
*********************************************************
*
* RMaker resource file sources.
* File: DesignerButtons.R
* History: 12/19/88 Original by Prototyper.
* This file contains the sources for all the resources except for Pictures.
*
*********************************************************
*
*
DesignerButtons.RSRC
????????
* This is the definition for the DIALOG.
*
Type DLOG
*
,2 ;;Resource ID
AboutDialog ;;Dialog title
186 87 313 411 ;;Top Left Bottom Right
Visible NoGoAway ;;Visible GoAway
1 ;;ProcID, dialog def ID
2 ;;Refcon, reference value
2 ;;ID of item list
* This is the DIALOG or ALERT item list.
*
Type DITL
*
,2 ;;Resource ID
3 ;;Number of controls in list
Button Enabled ;;Push button
75 181 111 247 ;;Top Left Bottom Right
OK ;;message
StaticText ;;Static text
40 11 56 297 ;;Top Left Bottom Right
Portions of code developed by Prototyper ;;message
StaticText ;;Static text
15 6 36 307 ;;Top Left Bottom Right
Designer CDEF by Kirk Chase For MacTutor\0D ;;message
* This is the definition for the WINDOW.
*
Type WIND
*
,1 ;;Resource ID
ExampleWindow ;;Window title
21 75 176 431 ;;Top Left Bottom Right
InVisible GoAway ;;Visible GoAway
2 ;;ProcID, Window def ID
1 ;;Refcon, reference value
* This is the CONTROL item list.
*
Type CNTL
*
,3 ;;Resource ID
Button ;;Title for a Button
5 246 81 332 ;;Top Left Bottom Right
Visible ;;Initially visible
0 ;;ProcID (Control definition ID)
3 ;;RefCon (reference value)
0 5 0 ;;Min Max Value
,4 ;;Resource ID
Deactivate ;;Title for a Checkbox
5 136 80 221 ;;Top Left Bottom Right
Visible ;;Initially visible
1 ;;ProcID (Control definition ID)
4 ;;RefCon (reference value)
0 1 0 ;;Min Max Value
,6 ;;Resource ID
Caution ;;Title for a RadioButton
25 21 45 106 ;;Top Left Bottom Right
Visible ;;Initially visible
2 ;;ProcID (Control definition ID)
6 ;;RefCon (reference value)
0 1 0 ;;Min Max Value
,7 ;;Resource ID
Go ;;Title for a RadioButton
45 21 65 106 ;;Top Left Bottom Right
Visible ;;Initially visible
2 ;;ProcID (Control definition ID)
7 ;;RefCon (reference value)
0 1 0 ;;Min Max Value
,5 ;;Resource ID
Stop ;;Title for a RadioButton
5 21 25 106 ;;Top Left Bottom Right
Visible ;;Initially visible
2 ;;ProcID (Control definition ID)
5 ;;RefCon (reference value)
0 1 1 ;;Min Max Value
* PICTs for button
Type PICT = GNRL
,149
.H
008B 0007 0007 0068 0068 1101 A000 82A0
008C 0100 0A00 0700 0700 6800 680A 0000
0000 0000 0000 0B00 1B00 1B44 0009 0009
0066 0066 0700 0200 0248 0AFF FFFF FFFF
FFFF FF54 0015 0015 0027 0027 0700 0100
0158 5400 2F00 1400 4200 2758 5400 1400
4A00 2700 5D58 5400 2F00 4A00 4200 5D58
5400 4A00 4A00 5D00 5D58 5400 4A00 1400
5D00 2758 A000 8DA0 0083 FF
Type PICT = GNRL
,148
.H
0081 0007 0007 0068 0068 1101 A000 82A0
008C 0100 0A00 0700 0700 6800 680A 0000
0000 0000 0000 0B00 1B00 1B44 0009 0009
0066 0066 0700 0200 0248 0AFF FFFF FFFF
FFFF FF54 004B 0015 005D 0027 0700 0100
0158 5400 4A00 4A00 5D00 5D58 5400 1400
1400 2700 2758 5400 1400 4A00 2700 5D58
5400 2F00 2F00 4200 4258 A000 8DA0 0083
FF
Type PICT = GNRL
,147
.H
0077 0007 0007 0068 0068 1101 A000 82A0
008C 0100 0A00 0700 0700 6800 680A 0000
0000 0000 0000 0B00 1B00 1B44 0009 0009
0066 0066 0700 0200 0248 0AFF FFFF FFFF
FFFF FF54 0015 0015 0027 0027 0700 0100
0158 5400 1400 4A00 2700 5D58 5400 4A00
1400 5D00 2758 5400 4A00 4A00 5D00 5D58
A000 8DA0 0083 FF
Type PICT = GNRL
,146
.H
006D 0007 0007 0068 0068 1101 A000 82A0
008C 0100 0A00 0700 0700 6800 680A 0000
0000 0000 0000 0B00 1B00 1B44 0009 0009
0066 0066 0700 0200 0248 0AFF FFFF FFFF
FFFF FF54 0015 0015 0027 0027 0700 0100
0158 5400 2F00 2F00 4200 4258 5400 4A00
4A00 5D00 5D58 A000 8DA0 0083 FF
Type PICT = GNRL
,145
.H
0063 0007 0007 0068 0068 1101 A000 82A0
008C 0100 0A00 0700 0700 6800 680A 0000
0000 0000 0000 0B00 1B00 1B44 0009 0009
0066 0066 0700 0200 0248 0AFF FFFF FFFF
FFFF FF54 004B 004B 005D 005D 0700 0100
0158 5400 1400 1400 2700 2758 A000 8DA0
0083 FF
Type PICT = GNRL
,144
.H
0059 0007 0007 0068 0068 1101 A000 82A0
008C 0100 0A00 0700 0700 6800 680A 0000
0000 0000 0000 0B00 1B00 1B44 0009 0009
0066 0066 0700 0200 0248 0AFF FFFF FFFF
FFFF FF54 0030 0030 0042 0042 0700 0100
0158 A000 8DA0 0083 FF
* This is the definition for the MENU.
*
Type MENU
*
,201 ;;Resource ID
\14 ;;APPLE menu title
About Designer CDEF ... ;;item title
(- ;;
,202 ;;Resource ID
File ;;menu title
Quit/Q ;;item title